package com.eduask.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.eduask.dao.UserDao;
import com.eduask.model.Email;
import com.eduask.model.SeeEmail;
import com.eduask.model.User;
import com.eduask.service.UserService;

@Service
public class UserServiceImpl implements UserService{
	
	@Autowired
	private UserDao userdao;
	
	

	

	@Override
	public boolean selectuser(User user) {
		
		return userdao.selectuser(user);
	}





	@Override
	public List<Email> useremail(String username_email) {
		
		return userdao.useremail(username_email);
	}





	@Override
	public List<SeeEmail> seeEmail(int eid) {
		// TODO Auto-generated method stub
		return userdao.seeEmail(eid);
	}

	

}
